import 'package:adjust_sdk/adjust.dart';
import 'package:adjust_sdk/adjust_event.dart';

import '../../common/config.dart';
import '../../common/mixin/adjust.dart';

class Tracker {
  Tracker._();

  static void _track(String eventName) {
    Adjust.trackEvent(AdjustEvent(eventName));
  }

  static void trackJumpComplete() {
    _track(SDK.kAdjustJumpComplete);
  }

  static void trackJumpError() {
    _track(SDK.kAdjustJumpError);
  }

  static void trackJumpNotFound() {
    _track(SDK.kAdjustJumpNotFound);
  }
}
